home *** CD-ROM | disk | FTP | other *** search
/ 1,000+ Great Games / 1_1000 Games.iso / CASINO / SLOT2_43.ZIP / SLOT2.DOC < prev    next >
Encoding:
Text File  |  1995-10-28  |  13.4 KB  |  303 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                               PC Casino Slot Machine II
  9.           ═════════════════════════════════════════════════════════════════
  10.  
  11.                Earlier releases of  my version of  SLOTMACH.BAS/SLOTCOL.BAS
  12.           (SLOT.EXE/SLOT.BAS) may have been compiled  using QuickBASIC 4.5,
  13.           but  starting with  this version  of QuickBASIC  execution became
  14.           slower  so I returned to the faster 3.0 version. This is SLOT.EXE
  15.           only.
  16.  
  17.                SLOT.EXE requires the  BRUN30.EXE Microsoft runtime  library
  18.           (included  in older  archives).  Both of  these  files have  been
  19.           removed from  the 4.0 archive. I  did this to reduce  the size of
  20.           the  archive. SLOT.BAS can be  run from either  GWBASIC (DOS 1.0-
  21.           3.3) or QBasic (DOS 5.+). BRUN30.EXE is 70,680 bytes and a stand-
  22.           alone version  of SLOT.BAS  with either QuickBASIC  4.5 or  Turbo
  23.           Basic 1.1 is 60,000 or more bytes. Just wiser to  leave these two
  24.           files out of the archive.
  25.  
  26.                SLOT2.EXE  (4.0)  starts  my  conversion  and  update  using
  27.           Borland's Turbo Pascal 7.0.  THE SOURCE CODE FOR THIS  VERSION IS
  28.           NOT  INCLUDED  IN THE  ARCHIVE. It  might look  much the  same as
  29.           SLOT.BAS, but most of  the internal workings are  completely new.
  30.           It  took  some effort  to  convert  it.  It has  more  bells  and
  31.           whistles. I removed the  music from the new version.  The program
  32.           does a  tone up  (winner) or  tone down  (loser). Sounds for  the
  33.           spinning wheels is more realistic, At least I believe.
  34.  
  35.                I  updated  a  lot of  the  BASIC  code.  Some routines  are
  36.           completely new, new ones added, others modified and/or corrected.
  37.           There was  a lot of extra  lines of code in  the BASIC version(s)
  38.           that I programmed around  in the Pascal version. Slot  Machine II
  39.           (SLOT2.EXE) is  a stand-alone program  and does  not require  the
  40.           presence  of any runtime library.  Without the need  of a runtime
  41.           library the Pascal version is much smaller.
  42.  
  43.                The original author of SLOTMACH.BAS  is unknown. See it  and
  44.           SLOTCOL.BAS for details (rem statements).
  45.  
  46.                The archive should contain the following files:
  47.  
  48.                FILE_ID.DIZ.............. BBS description file
  49.                SLOTCOL.BAS.............. BASIC/Color version of original
  50.                SLOTMACH.BAS............. BASIC original version
  51.                SLOT.BAS................. My BASIC version of SLOTCOL.BAS
  52.                READ.ME.................. Update information
  53.                SLOT2.DOC................ Documentation file
  54.                SLOT2.EXE................ Actual Slot Machine II program
  55.                HUCKABEY.TXT............. Current list of James Huckabey
  56.                                          software
  57.                SOFTWARE.TXT............. Information about shareware
  58.                ARCHIVE.TXT.............. This list of files
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                To  run the  program type  in SLOT2  and press  <ENTER>. The
  67.           screen  displays the  credits  (pressing any  key  speeds up  the
  68.           display). After this the screen displays the Options Menu:
  69.  
  70.  
  71.                        ╔═════════════════════════════════════╗
  72.                        ║     Slot Machine II Options Menu    ║
  73.                        ╟─────────────────────────────────────╢
  74.                        ║                                     ║
  75.                        ║        <1> New Game                 ║
  76.                        ║                                     ║
  77.                        ║        <2> New Player               ║
  78.                        ║                                     ║
  79.                        ║        <3> View Top Ten             ║
  80.                        ║                                     ║
  81.                        ║        <4> Erase Top Ten            ║
  82.                        ║                                     ║
  83.                        ║        <5> Information/Help         ║
  84.                        ║                                     ║
  85.                        ║        <6> Turn Sound ON/OFF        ║
  86.                        ║                                     ║
  87.                        ║        <7> Exit Program             ║
  88.                        ║                                     ║
  89.                        ╟─────────────────────────────────────╢
  90.                        ║         Press Choice <1-7>          ║
  91.                        ╚═════════════════════════════════════╝
  92.  
  93.  
  94.                You can  press <ENTER>, <1> or  <2> to start a  game. If you
  95.           have not entered a user name you are prompted as follows:
  96.  
  97.  
  98.                                  No current user name
  99.  
  100.  
  101.                       Please type in your name and press <ENTER>
  102.  
  103.                               [                        ]
  104.  
  105.                                 Press <ESC> for Menu!
  106.  
  107.  
  108.                You can type  in any name  up to 16  characters. To erase  a
  109.           character  press <BACKSPACE>.  When  finished press  <ENTER>,  to
  110.           abort  press <ESCAPE>. If you  press <ENTER> without  typing in a
  111.           name the program randomly picks a name for you out of thirty male
  112.           and female names including "Hey You."
  113.  
  114.                You advance to the play screen.
  115.  
  116.  
  117.                                    <3> View Top Ten
  118.  
  119.                Pressing <3> from the Options Menu the  program displays the
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.           current Top Ten Players:
  128.  
  129.  
  130.                                Slot Machine II Top Ten
  131.  
  132.               Grandpa................. $ 33.50 on 7-05-1995 at  2:25:55p
  133.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  134.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  135.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  136.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  137.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  138.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  139.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  140.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  141.               No One.................. $000.00 on 7-04-1995 at 12:15:22p
  142.  
  143.  
  144.                             Press <ENTER> for Options Menu
  145.  
  146.  
  147.                Pressing <ENTER> returns you to the Options Menu.
  148.  
  149.  
  150.                                   <4> Erase Top Ten
  151.  
  152.                Press <4> from the Options Menu. The screen displays:
  153.  
  154.  
  155.                      WARNING           WARNING           WARNING
  156.  
  157.  
  158.                  Press <Y> To Confirm Deletion of Existing Score File
  159.  
  160.                                           or
  161.  
  162.                             Press <ANY OTHER> Key to Abort
  163.  
  164.  
  165.                      WARNING           WARNING           WARNING
  166.  
  167.  
  168.                You must press "Y" to delete (reset) the Top Ten score file.
  169.           Any other key  aborts the option and  returns you to the  Options
  170.           Menu. Pressing <Y> erases the current score file and writes out a
  171.           new one with  no data in it but the current date and time. Return
  172.           to the Options Menu is automatic.
  173.  
  174.  
  175.                                  <5> Information/Help
  176.  
  177.                Displays  author information  and  basic on-line  help along
  178.           with a color display of the Slot Machine's payoffs. You can abort
  179.           the display at  any time by pressing  <ESCAPE>, pressing <RETURN>
  180.           advances  you through several screens and then returns you to the
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.           Options Menu.
  189.  
  190.                                 <6> Turn Sound OFF/ON
  191.  
  192.                Pressing  <6>  for the  Options Menu  or  <S> from  the play
  193.           screen reverses the  state of the sound option. If it is ON it is
  194.           turned OFF. If it is OFF it is  turned ON. The displays shows the
  195.           option, not the  state. If it says Turn Sound  ON this means that
  196.           the sound  is currently off. Default is OFF. You have to turn the
  197.           sound on  to get sound. This  must be repeated each  time you run
  198.           the  program. Previously my programs defaulted to sound ON, but I
  199.           have  decided to  make it  OFF so  it is  silent unless  the user
  200.           chooses to turn it ON. My wife likes to sleep at night (GRIN)!
  201.  
  202.  
  203.                                    <7> Exit Program
  204.  
  205.                Pressing <7> from the options menu exits the program without
  206.           any further prompting.
  207.  
  208.  
  209.                                        The Play
  210.  
  211.                Since a  real slot  machine is mechanical  and has  spinning
  212.           wheels  it is  necessary  to  randomly  pick  symbols  out  of  a
  213.           predefined list (array).  A list is made for each  wheel. On each
  214.           pull of the  handle the  program randomly displays  a symbol.  As
  215.           each  wheel  is  stopped   whatever  symbol  is  currently  being
  216.           displayed is  chosen for  that wheel  and so on  for each  of the
  217.           three wheels.
  218.  
  219.                The program resets the random generator, used to  choose the
  220.           wheels, on each new game.  This is to help insure that  each game
  221.           is unique. The only way the game can repeat play is to start  the
  222.           computer on  exactly the  same time  each day, and  to start  the
  223.           program at  the same  exact time.  Then the  first game could  be
  224.           exactly the same as the previous day's. The random generator uses
  225.           the  computer's timer, which  it uses to  keep track  of how much
  226.           time has  passed for that day since the computer was turned on or
  227.           the time since midnight when the timer rolls over to zero.
  228.  
  229.                The  program  is not  weighted to  win.  The symbols  on the
  230.           wheels are randomly picked on each play.  There are 32 symbols on
  231.           each of  the three wheels.  A symbol on  each wheel  is weighted.
  232.           Cherries are weighted  on Wheel #1, slightly on  Wheel #2 and are
  233.           normal (for program) on Wheel #3. In this version I have tried to
  234.           make  the  play  more like  the  real  thing. As  with  real slot
  235.           machines you can  make money one time and lose  another time. The
  236.           odds are with the house, as always (grin)!
  237.  
  238.                You are given $25 to gamble with each game played. It is not
  239.           an accumulated amount from previous plays. If you lose your money
  240.           the current  game is terminated. To  play again chose a  new game
  241.           from the Options Menu or just press <ENTER> at the Options Menu.
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.                The play screen prompt is as follows:
  250.  
  251.                    Press <ENTER>=Pull, <S>ound ON, <C>olor, <E>xit
  252.  
  253.                Once play has started you  press <ENTER> to do a play,  this
  254.           is a PULL on the handle.
  255.  
  256.                Pressing  <S>ound turns the sound ON or OFF depending on the
  257.           current state. If ON it is turned OFF, if OFF it is turned ON.
  258.  
  259.                Pressing <C>olor  changes the color of the slot machine. The
  260.           default color for  the slot machine is dark  blue. You can repeat
  261.           pressing <C>olor until you get the color you want out of 7 random
  262.           colors.
  263.  
  264.                Pressing <E>xit  terminates the current play.  You are shown
  265.           your current holdings and how much you lost or won.
  266.  
  267.                Exiting or running  out of money advances you to the Top Ten
  268.           screen. If your score is $25.25 or more the program checks to see
  269.           if  it  is greater  than the  10th position.  If  it is  the 10th
  270.           position  is replaced with your score. The program then sorts the
  271.           Top Ten  and writes out  a new file  before displaying it  on the
  272.           screen. The screen displays, along with the top ten:
  273.  
  274.  
  275.                         Congratulations! You made the Top Ten!
  276.  
  277.  
  278.                If  your  score  is  less  than  10th  position  the  screen
  279.           displays:
  280.  
  281.  
  282.                         Cheer up! There is always a next time!
  283.  
  284.  
  285.                That  is pretty  much the game.  Most prompts  are displayed
  286.           clearly on the screen. You might  want to see the pay-offs to see
  287.           which bars and colors pay off what.
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.                                Contribution not Sought
  296.  
  297.                This program is Freeware, meaning I am not asking for money.
  298.           BUT if  you want  to  send me  something for  my  efforts and  to
  299.           encourage me to write updates and new programs it will be greatly
  300.           appreciated. Again, I am not asking for any contributions. If you
  301.           do  send a  contribution please  include your  diskette  type and
  302.           version  number and where you  received your copy  of the program
  303.           (friend, BBS download, Software  Library, etc.). Sometimes I send
  304.           updates  and other  of my  software. This  is a  fully functional
  305.           program.
  306.  
  307.                If you  would like to write me about your likes and dislikes
  308.           feel free to do so. I always like to receive feedback from users.
  309.           I try to write easy, user friendly software.
  310.  
  311.                            James Huckabey
  312.                            3621-A Fraser Street
  313.                            Bellingham, WA 98226-2473
  314.                            (360) 671-2868, voice, Pacific
  315.